package com.whisperarts.financer.model.account;

import java.util.ArrayList;
import java.util.List;

public class CardAccount extends Account {
	public static final int CARD_VISA = 0;
	public static final int CARD_VISA_ELECTRON = 1;

	private String lastForDigits;
	private String bankName;
	private int cardType;

	public CardAccount(String title) {
		super(title);
	}

	public String getLastForDigits() {
		return lastForDigits;
	}
	public void setLastForDigits(String lastForDigits) {
		this.lastForDigits = lastForDigits;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public int getCardType() {
		return cardType;
	}
	public void setCardType(int cardType) {
		this.cardType = cardType;
	}	
	@Override
	public List<String> getAccountInfo() {
		List<String> info = new ArrayList<String>();
		info.add(getName() + "\nCurrent balance: 00");
		info.add("Last 4 digits: 1234");
		return info;
	}
}
